-
-
Notifications
You must be signed in to change notification settings - Fork 773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update INotifyCollectionChanged
events in MenuItems
and FooterMenuItems
of the NavigationView
#1098
Update INotifyCollectionChanged
events in MenuItems
and FooterMenuItems
of the NavigationView
#1098
Conversation
…onview menu/footer items. - Fixed menu/footer items not updating with databinding source if items modified post init.
…nt when updating from binding source
Fixed stackoverflow due to recursive call from collection change event when updating from binding source. |
Hi please look at (#1092) You don't need to add the items to another collection as it is an observable collection, any change to the collection will change the items. |
The initial items get added to the observable collection and update when you set the itemssource, but you aren't adding a binding to the itemssource; they're just being added from one to the other; so if the itemssource changes after the initial binding is done; the items do not update. |
INotifyCollectionChanged
events in MenuItems
and FooterMenuItems
of the NavigationView
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
If you modify a databound observable collection to navigationview menu/footer items and then modify that list later in the program, the ui will not update with the new items.
Issue Number: N/A
What is the new behavior?
Ui now updates when binding source is updated.
Other information